package com.mew.slots.core.game.mymg.message;

import com.mew.slots.core.common.messge.response.SlotsBonusPlayResponseMessage;
import io.netty.buffer.ByteBuf;
import lombok.Data;
import lombok.ToString;

/** 救蛋
 * @author dylin
 */
@Data
@ToString(callSuper = true)
public class MymgBonusPlayResponseMessage extends SlotsBonusPlayResponseMessage {
    private int bonusNum;//特殊次数
    private int index;//0 坐标
    private int AllRate;//总倍数
    private int isGameOver;//游戏是否结束
    private long payment;//赔付
    @Override
    public void write(ByteBuf b) {
        super.write(b);
        writeInt(b,bonusNum);
        writeInt(b,index);
        writeInt(b,AllRate);
        writeInt(b,isGameOver);
        writeLong(b,payment);

    }

    @Override
    public MymgBonusPlayResponseMessage read(ByteBuf byteBuf) {
        return null;
    }
}
